﻿namespace BallDrop
{
    internal class Program
    {
        static void Main(string[] args)
        {
            double totalDistance = 100;
            double height = 100;
            for (int i = 2; i <= 10; i++)
            {
                height /= 2;
                totalDistance += 2 * height;
            }
            Console.WriteLine("第10次落地时共经过：" + totalDistance + "米");
            Console.WriteLine("第10次反弹高度：" + height / 2 + "米");
            Console.ReadLine();
        }
    }
}